top compartment meaning in English
顶室
Examples
- The top compartment shows the class s name
顶部区域显示类的名字。 - Therefore , an interface is drawn just like a class , but the top compartment of the rectangle also has the text " interface " , as shown in figure 10
因此,接口就象类那样绘制,但是长方形的顶部区域也有文本“ interface ” ,如图10所示。 - The notation of an instance is the same as a class , but instead of the top compartment merely having the class s name , the name is an underlined concatenation of
实例的记号和类一样,但是取代顶端区域中仅有的类名,它的名字是经过拼接的 - The top compartment contains the class name , and the lower compartment contains the class s internal structure , showing the parent class s part classes in their respective roles , as well as how each particular class relates to others in that role
最顶端的区域包含类名字,而较低的区域包含类的内部结构,显示在它们父类中承担不同角色的部分类,角色中的每个部分类也关系到其它类。 - When drawing a class element on a class diagram , you must use the top compartment , and the bottom two compartments are optional . the bottom two would be unnecessary on a diagram depicting a higher level of detail in which the purpose is to show only the relationship between the classifiers
当在一个类图上画一个类元素时,你必须要有顶端的区域,下面的二个区域是可选择的(当图描述仅仅用于显示分类器间关系的高层细节时,下面的两个区域是不必要的) 。